my_sum = 0
i = 1
while i <= 100:
    my_sum += i
    i += 1
print(my_sum)

# 乘法口诀表
i = 1
while i <= 9:
    j = 1
    while j <= i:
        print("{}*{}={}\t".format(i, j, i * j), end="")
        j += 1
    print()
    i += 1
